package com.microservices.cloud.service;


import java.math.BigDecimal;

public interface AccountService {


    /**
     * 根据用户id，扣减账户信息
     *
     * @param userId
     * @param money
     * @return
     */
    Integer updateAccount(Long userId, BigDecimal money);

}
